<style>
    .pageFormContent dd {
    display: block;
    float: none;
    line-height: 21px;
    width: 450px;
}
</style>
<div class="pageContent">
    <form method="post" action="{:U('Areauser/update',array('id'=>$info[user_id]))}" onsubmit="return validateCallback(this,dialogAjaxDone);">
    	<div class="tabsContent">
            <div class="pageFormContent" layouth="58">
        		<dl>
        			<dt>用户编号：</dt>
        			<dd>{$info[user_id]}<input id="user_id" name="info[user_id]" type="hidden" value="{$info[user_id]}"/></dd>
        		</dl>
        		<dl>
        			<dt>商家类型：</dt>
        			<dd>{$agent_stype[$info[stype]]}<input id="stype" name="info[stype]" type="hidden" value="{$info[stype]}"/></dd>
        		</dl>
        		<dl>
        			<dt>商家名称(联系人)：</dt>
        			<dd>{$info[company]}({$info[realname]})</dd>
        		</dl>
        		<dl>
        			<dt>专营区域：</dt>
        			<dd>
        				{$Area[$info[province]]['name']}
                        {if $info[city]!=0}|{$Area[$info[city]]['name']}{/if}
                        {if $info[area]!=0}|{$Area[$info[area]]['name']}{/if}
        			</dd>
        		</dl>
				<li style="width:380px;">
                <label style="width:60px;">修改区域：</label>
                <select name="vesting_province"   ref="city_edit" refUrl="{:U('Areauser/area')}&id={value}&level=2" class="combox">
                    <option value="0">请选择省份...</option>
                    <volist name="Area_list" id="vo">
                        {if $vo['parentid'] == 0}
                        <option value="{$vo['id']}" {if $province==$vo['id']}selected="selected"{/if}>{$vo['name']}</option>
                        {/if}
                    </volist>
                  </select>
                  <select name="vesting_city" ref="area_edit" refUrl="{:U('Areauser/area')}&id={value}&level=3" id="city_edit" class="combox">
                    <option value="0">请选择城市...</option>
                    {if !empty($vesting_city)}
                    <volist name="Area_list" id="vo">
                        {if $vo['parentid'] == $province}
                        <option value="{$vo['id']}" {if $city==$vo['id']}selected="selected"{/if}>{$vo['name']}</option>
                        {/if}
                    </volist>
                    {/if}
                  </select>
                  <select name="vesting_area" id="area_edit" class="combox">
                    <option value="0">请选择区域...</option>
                    {if !empty($vesting_area)}
                    <volist name="Area_list" id="vo">
                        {if $vo['parentid'] == $city}
                        <option value="{$vo['id']}" {if $area==$vo['id']}selected="selected"{/if}>{$vo['name']}</option>
                        {/if}
                    </volist>
                    {/if}
                  </select>
            </li>
			
				
        		<dl>
        			<dt>商家地址：</dt>
        			<dd>
					<input type="text" size="50" value="{$info[address]}" name="address">
					</dd>
        		</dl>
        		<dl>
        			<dt>商家电话：</dt>
        			<dd><input name="tel" class="input-text" type="text" value="{$info[tel]}" size="15" alt="请输入电话"/></dd>
        		</dl>
        		<dl>
        			<dt>商家手机：</dt>
        			<dd><input name="mobile" class="required" type="text" value="{$info[mobile]}" size="15" alt="请输入手机"/></dd>
        		</dl>


            </div>
    	</div>
    	<div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><input id="id" name="info[id]" type="hidden" value="{$info[id]}"/><input id="dosubmit" name="dosubmit" type="hidden" value="1"/><button type="submit">提交修改</button></div></div></li>
                <li>
                    <div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
                </li>
            </ul>
        </div>
        <div class="tabsFooter">
            <div class="tabsFooterContent"></div>
        </div>
    </form>
</div>